package org.jrad.model;

public class Attribute {

	private String name;

	private String type;

	private String size;

	private String validation;

	private boolean required;

	public Attribute() {
	}

	public Attribute(
			String name, String type, String size, String validation, boolean required) {
		super();
		this.name = name;
		this.type = type;
		this.size = size;
		this.validation = validation;
		this.required = required;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getValidation() {
		return validation;
	}

	public void setValidation(String validation) {
		this.validation = validation;
	}

	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}
}
